package com.xhwl.data.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhwl.common.dto.cent.sdata.AreaDTO;
import com.xhwl.common.enums.OrganizationTypeEnum;
import com.xhwl.common.pojo.cent.sdata.Area;
import com.xhwl.common.query.cent.sdata.AreaQuery;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 15:41 2021/1/21
 */
@Repository
public interface IAreaDao extends BaseMapper<Area> {

    List<Area> list(@Param("areaQuery") AreaQuery areaQuery);

    Page<Area> page(Page page, @Param("areaQuery") AreaQuery areaQuery);
}
